package com.zjh.admin.app.mapper;

import com.zjh.admin.app.model.CollectEntity;
import com.zjh.admin.app.model.VideoEntity;
import com.zjh.core.base.basemapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * @Author WYX
 * @Description TODO
 * @Date 2019/11/17 18:03
 */
@Repository
public interface VideoMapper extends BaseMapper<VideoEntity, Long> {
    int updateLike(Long id);

    int collectVideo(Map<String, Object> parameter);

    int deleteCollect(Map<String, Object> parameter);

    List<CollectEntity> findCollectByUid(int uId);

    int deleteBatchCollectById(Map<String, Object> parameter);
}
